<?php

namespace app\api\controller\v1;


use app\common\controller\Api;
use addons\adszone\library\Adszone;
use app\common\library\Utils;
use app\common\logic\ChatLogic;
use app\common\logic\CourseLogic;
use app\common\logic\SystemInfo;
use app\common\model\chat\ChatRoom;
use app\common\model\course\Chapter;
use app\common\model\course\Course;
use app\common\model\course\Order;
use think\Db;

/**
 * 问答控制器
 */
class System extends Api
{
    protected $noNeedLogin = [];
    protected $noNeedRight = '*';

    /*
     * 系统信息
     * */
    public function getList() {
        $system = new SystemInfo();
        $list = $system->getList(ORG_CATE_ID);

        $this->success('系统消息', $list);
    }
}
